#ifndef HITBOX_H
#define HITBOX_H

struct Hitbox
{
    //Hitbox(int px, int py, int pradius) : x(px), y(py), radius(pradius) {}

    int x, y;
    int rad;

    double distance(double x0, double y0, double x1, double y1);
    bool overlaps(Hitbox* h);
};

#endif // HITBOX_H
